From 462eeb314d97b8e91023306ca259423b2d7fdb89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 25 Nov 2025 22:40:00 +0100 Subject: [PATCH] layout: Export STARTUP_ANIMATION_TIME We are using it in overviewControls but the value is not exported. This caused an issue when the animations are not enabled, since in a racy way (e.g. only sometimes, depending on the init speed) the value was undefined, and so we ended up falling back to the default animation duration time. Part-of: (cherry picked from commit 087b0fda5d64f7a74460ef4a0f923a1235aff50f) --- js/ui/layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index 354ef60d4..e47c82f93 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -16,7 +16,7 @@ import * as Main from './main.js'; import * as Params from '../misc/params.js'; import * as Ripples from './ripples.js'; -const STARTUP_ANIMATION_TIME = 500; +export const STARTUP_ANIMATION_TIME = 500; const BACKGROUND_FADE_ANIMATION_TIME = 1000; const HOT_CORNER_PRESSURE_THRESHOLD = 100; // pixels -- 2.39.5